/*
 *
 *  * Copyright (c) GoKeep by gokeep.org. 2022-2023. All rights reserved
 *
 */

package org.gokeep.common.mapper;

import org.gokeep.common.document.User;
import org.gokeep.common.dto.FriendBaseDto;
import org.gokeep.common.dto.UserDetailDto;
import org.gokeep.common.dto.UserRegisterDto;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface UserMapper extends BaseMapper<FriendBaseDto, User> {
    UserDetailDto toDetailDto(User user);

    User toEntity(UserRegisterDto userRegister);
}
